package com.shuqi.model.bean;

import java.util.List;

public class SoftConfigInfo {
    /**服务器最新时间*/
    private long serverTime;
    /**手机时间出错：提示错误信息*/
    private String errorMessage;
    /** 推广墙开关 */
    private boolean isOpenOfferWall = false;
    /** CDN阅读开关 */
    private boolean isOpenCDNRead = false;

    /** 普通统计上传的阀值 */
    private int pvLimit = 300;

    /** 详细统计上传的阀值 */
    private int detailPvLimit = 300;
    /** 详细统计数据的失效时间:单位天 */
    private int detailPvFailureTime = 15;
    /** 详细统计数据的上传频率:单位秒 */
    private int detailPvUpFreq = 1800;
    /** 软件启动图地址 */
    private String loadingImgUrl;

    /** 软件更新信息 */
    private SoftUpdateInfo updateInfo;


    /** 软件域名列表组：每一组内包含三排域名列表 */
    private List<List<String>> groupList;

    /** 首页大图：APP推广图 */
    private List<OfferWallAppInfo> offerWallAppInfos;

    /** 访问网页时需要添加客户端参数的：属于书旗域名 */
    private StringBuilder webDomains;

    /** 打开软件使用的appInfo接口更换域名 */
    private String appInfoDomains;
    /** 各个网页的url */
    private List<String> webUrls;
    
    /** 不需要重试的：静态域名:目前广告CND添加 */
    private List<String> staticDomain;

    public boolean isOpenOfferWall() {
        return isOpenOfferWall;
    }

    public void setOpenOfferWall(boolean isOpenOfferWall) {
        this.isOpenOfferWall = isOpenOfferWall;
    }

    public boolean isOpenCDNRead() {
        return isOpenCDNRead;
    }

    public void setOpenCDNRead(boolean isOpenCDNRead) {
        this.isOpenCDNRead = isOpenCDNRead;
    }

    public int getPvLimit() {
        return pvLimit;
    }

    public void setPvLimit(int pvLimit) {
        this.pvLimit = pvLimit;
    }

    public int getDetailPvLimit() {
        return detailPvLimit;
    }

    public void setDetailPvLimit(int detailPvLimit) {
        this.detailPvLimit = detailPvLimit;
    }

    public int getDetailPvFailureTime() {
        return detailPvFailureTime;
    }

    public void setDetailPvFailureTime(int detailPvFailureTime) {
        this.detailPvFailureTime = detailPvFailureTime;
    }

    public int getDetailPvUpFreq() {
        return detailPvUpFreq;
    }

    public void setDetailPvUpFreq(int detailPvUpFreq) {
        this.detailPvUpFreq = detailPvUpFreq;
    }

    public String getLoadingImgUrl() {
        return loadingImgUrl;
    }

    public void setLoadingImgUrl(String loadingImgUrl) {
        this.loadingImgUrl = loadingImgUrl;
    }

    public SoftUpdateInfo getUpdateInfo() {
        return updateInfo;
    }

    public void setUpdateInfo(SoftUpdateInfo updateInfo) {
        this.updateInfo = updateInfo;
    }

    public List<List<String>> getGroupList() {
        return groupList;
    }

    public void setGroupList(List<List<String>> groupList) {
        this.groupList = groupList;
    }

    public List<OfferWallAppInfo> getOfferWallAppInfos() {
        return offerWallAppInfos;
    }

    public void setOfferWallAppInfos(List<OfferWallAppInfo> offerWallAppInfos) {
        this.offerWallAppInfos = offerWallAppInfos;
    }

    public StringBuilder getWebDomains() {
        return webDomains;
    }

    public void setWebDomains(StringBuilder webDomains) {
        this.webDomains = webDomains;
    }

    public String getAppInfoDomains() {
        return appInfoDomains;
    }

    public void setAppInfoDomains(String appInfoDomains) {
        this.appInfoDomains = appInfoDomains;
    }

    public List<String> getWebUrls() {
        return webUrls;
    }

    public void setWebUrls(List<String> webUrls) {
        this.webUrls = webUrls;
    }

    public long getServerTime() {
        return serverTime;
    }

    public void setServerTime(long serverTime) {
        this.serverTime = serverTime;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public List<String> getStaticDomain() {
        return staticDomain;
    }

    public void setStaticDomain(List<String> staticDomain) {
        this.staticDomain = staticDomain;
    }

    @Override
    public String toString() {
        return "SoftConfigInfo [serverTime=" + serverTime + ", errorMessage=" + errorMessage
                + ", isOpenOfferWall=" + isOpenOfferWall + ", isOpenCDNRead=" + isOpenCDNRead
                + ", pvLimit=" + pvLimit + ", detailPvLimit=" + detailPvLimit
                + ", detailPvFailureTime=" + detailPvFailureTime + ", detailPvUpFreq="
                + detailPvUpFreq + ", loadingImgUrl=" + loadingImgUrl + ", updateInfo="
                + updateInfo + ", groupList=" + groupList + ", offerWallAppInfos="
                + offerWallAppInfos + ", webDomains=" + webDomains + ", appInfoDomains="
                + appInfoDomains + ", webUrls=" + webUrls + ", staticDomain=" + staticDomain + "]";
    }

}
